package com.joysuch.wwyt.risk.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value = "风险评估-风险区域风险点")
public class RiskPointOfDistrictListBean implements Serializable {

    @ApiModelProperty("风险单元编号id")
    private Long id;

    @ApiModelProperty("风险单元编号")
    private String code;

    @ApiModelProperty("风险点名称")
    private String name;

    @ApiModelProperty("风险点父类型编号")
    private String Type;
    @ApiModelProperty("风险点子类型编号")
    private String subType;
    @ApiModelProperty("风险点类型名称")
    private String pointTypeName;

    @ApiModelProperty("评估状态 1评估,0未评估")
    private Integer pointEvaluationState;

    @ApiModelProperty("固有风险评估等级")
    private Integer stableRiskLevel;
    @ApiModelProperty("固有风险评估等级名称")
    private String stableRiskLevelName;


    @ApiModelProperty("控制风险评估等级")
    private Integer controlRiskLevel;
    @ApiModelProperty("控制风险评估等级名称")
    private String controlRiskLevelName;

    @ApiModelProperty("实时值等级")
    private Integer realTimeRiskLevel;
    @ApiModelProperty("实时值等级名称")
    private String realTimeRiskLevelName;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty("评估时间")
    private Date lastEvaluationDate;

    @ApiModelProperty("是否有风险评估")
    private Boolean isRiskEvalFlag;
}
